package com.qczl.pme.dao;

import java.util.List;
import java.util.Map;

import com.qczl.pme.pojo.Town;

public interface TownMapper {
    int deleteByPrimaryKey(String townid);

    int insert(Town record);

    int insertSelective(Town record);

    Town selectByPrimaryKey(String townid);

    int updateByPrimaryKeySelective(Town record);

    int updateByPrimaryKey(Town record);

	List<Town> selectAll(Map<String,Object> m);
	
	int count(Map<String,Object> m);

	Long selectMaxSort();
	
}